﻿using Caliburn.Micro;
using SD.Infrastructure.WPF.Caliburn.Aspects;
using System;

namespace SlamDunk.MES.Presentation.Models.NotifyModels
{
    /// <summary>
    /// 计划物料要求
    /// </summary>
    public class PlanMaterialAskNm : PropertyChangedBase
    {
        #region 物料定义Id —— Guid MaterialId
        /// <summary>
        /// 物料定义Id
        /// </summary>
        [DependencyProperty]
        public Guid MaterialId { get; set; }
        #endregion

        #region 物料定义编号 —— string MaterialNo
        /// <summary>
        /// 物料定义编号
        /// </summary>
        [DependencyProperty]
        public string MaterialNo { get; set; }
        #endregion

        #region 物料定义名称 —— string MaterialName
        /// <summary>
        /// 物料定义名称
        /// </summary>
        [DependencyProperty]
        public string MaterialName { get; set; }
        #endregion

        #region 数量 —— decimal Quantity
        /// <summary>
        /// 数量
        /// </summary>
        [DependencyProperty]
        public decimal Quantity { get; set; }
        #endregion

        #region 单位 —— string Unit
        /// <summary>
        /// 单位
        /// </summary>
        [DependencyProperty]
        public string Unit { get; set; }
        #endregion

        #region 排序 —— int Sort
        /// <summary>
        /// 排序
        /// </summary>
        [DependencyProperty]
        public int Sort { get; set; }
        #endregion

        #region 描述 —— string Description
        /// <summary>
        /// 描述
        /// </summary>
        [DependencyProperty]
        public string Description { get; set; }
        #endregion
    }
}
